
<h2 class="title">预定申请</h2>

<{if $countsOrders <= 0}>

<div class="box-none">
    <img src="/resource/www/imgs/box_none_icon.png" class="img">
    <p class="text">抱歉，你还没有预定申请！</p>
</div>

<{else}>

<div class="orders-req">
    <ul class="list">
        <{foreach from=$orders item="order"}>
        <li class="li">
            <div class="one fix">
                <div class="left fix">
                    <img src="<{$order.tourist.userIcon}>" class="tx">
                    <span class="name"><{$order.tourist.userName}></span>
                    <span class="date"><{"Y.m.d H:i"|@date:$order.created}></span>
                </div>
                <div class="right">操作</div>
            </div>
            <div class="two fix">
                <div class="left"><{$order.title}></div>
                <div class="right">
                    <{if $order.status == 1}>
                    <a href="/guider/order_handle_request/<{$order.orderNo}>" class="a">处理申请</a>
                    <{elseif $order.status == 2}>
                    <p class="reason" title="拒绝原因：<{$order.commentsSaler}>">拒绝原因：<{$order.commentsSaler}></p>
                    <{/if}>
                </div>
            </div>
        </li>
        <{/foreach}>
    </ul>

    <{if $pagination}>
    <{$pagination}>
    <{/if}>

</div>

<{/if}>

<script>
    $(".yuding").addClass("active");
    $('.shenqing').addClass("mactive");
    $('.yuding_nav').addClass("active");
    $('.down-menu').eq(2).show();
</script>
